package com.shujia.day08.homework.info;

public class GoodsKind {
    //类别编号，类别名称
    private String kId;
    private String kName;

    public GoodsKind() {
    }

    public GoodsKind(String kId, String kName) {
        this.kId = kId;
        this.kName = kName;
    }

    public String getkId() {
        return kId;
    }

    public void setkId(String kId) {
        this.kId = kId;
    }

    public String getkName() {
        return kName;
    }

    public void setName(String kName) {
        this.kName = kName;
    }

    public void show(){
        System.out.println("类别编号："+kId);
        System.out.println("类别名称："+kName);
    }
}
